Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
bump-regex
Advanced tools
bump regex with semver
Package | bump-regex |
Description | bump regex with semver |
Node Version | >= 0.9 |
$ npm install --save bump-regex
var bump = require('bump-regex');
bump('version: "0.1.2"', function(err, out) {
// => 'version: "0.1.3"'
});
Semver version type to bump
Type: `String`
Default: `patch`
Valid values: `major|minor|patch|prerelease`
Set the versioning key
Type: `String`
Default: `version`
Sets multiple versioning keys.
Type: `Array` of `String`s
Default: null
Set case insensitive matching
This option enables matching a specific Case Sensitive selector
<xml>
<version>nope</version>
<Version>1.2.3</Version>
</xml>
Type: `Boolean`
Default: `false`
Set a specific version to bump to.
Type: `String`
Default: `null`
Set the prerelase tag to use
Type: `String`
Default: `null`
Set the version selector regex
Type: `RegEx`
Keep the metadata of the old version after bumping (exception: you are using options.version)
Type: `Boolean`
Default: `false`
Example:
type: 'prerelease',
preid : 'alphaWhateverTheYWant'
// => '0.0.2-alphaWhateverTheYWant.0'
major: 1.0.0
minor: 0.1.0
patch: 0.0.2
prerelease: 0.0.1-2
FAQs
bump RegEx with semver
The npm package bump-regex receives a total of 11,361 weekly downloads. As such, bump-regex popularity was classified as popular.
We found that bump-regex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.